package pl.edu.pw.ee.buildcity.domain;

/**
 * @author mgrzechocinski
 * @since 2009-10-18
 */
public enum BuildStatus {

	IN_PROGRESS {
		@Override
		public boolean isFinished() {
			return false;
		}},

	SUCCEEDED {
		@Override
		public boolean isFinished() {
			return true;
		}},

	FAILED {
		@Override
		public boolean isFinished() {
			return true;
		}};

	public abstract boolean isFinished();

}